package com.ym.b2b.ws.service;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;

import org.apache.cxf.annotations.WSDLDocumentation;

import com.ym.b2b.product.sqlbean.EmBProduct;

@WebService
public interface ProductWebService {

    @WSDLDocumentation("hello word 简单测试 是否通")
    String hello(@WebParam(name = "name")
    String text, @WebParam(name = "sex")
    String filePath);

    @WSDLDocumentation("获取产品列表  返回List<EmBProduct> 列表")
    List<EmBProduct> getProductListForJosn(String searchWhere);

    @WSDLDocumentation("获取产品详情   ")
    EmBProduct getProductDetailForJosn(String productCode);

}
